function h=uncorrelated_channel(nr,nt)



h=zeros(nr,nt);
for v=1:nt
	for u=1:nr
		%magnitude is gaussian with zero mean and variance .5, real and imaginary parts are independent
		real_mag=random('normal',0,1/sqrt(2));
		imag_mag=random('normal',0,1/sqrt(2));
		h(u,v)=real_mag + i*imag_mag;
	end
end
	
	
	